Optimal. Leaf size=83 \[ -\frac {(a e-c d x) (d+e x)}{a c \sqrt {a+c x^2}}-\frac {d e \sqrt {a+c x^2}}{a c}+\frac {e^2 \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a+c x^2}}\right )}{c^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {753, 655, 223,
212} \begin {gather*} \frac {e^2 \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a+c x^2}}\right )}{c^{3/2}}-\frac {d e \sqrt {a+c x^2}}{a c}-\frac {(d+e x) (a e-c d x)}{a c \sqrt {a+c x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 223
Rule 655
Rule 753
Rubi steps
\begin {align*} \int \frac {(d+e x)^2}{\left (a+c x^2\right )^{3/2}} \, dx &=-\frac {(a e-c d x) (d+e x)}{a c \sqrt {a+c x^2}}+\frac {\int \frac {a e^2-c d e x}{\sqrt {a+c x^2}} \, dx}{a c}\\ &=-\frac {(a e-c d x) (d+e x)}{a c \sqrt {a+c x^2}}-\frac {d e \sqrt {a+c x^2}}{a c}+\frac {e^2 \int \frac {1}{\sqrt {a+c x^2}} \, dx}{c}\\ &=-\frac {(a e-c d x) (d+e x)}{a c \sqrt {a+c x^2}}-\frac {d e \sqrt {a+c x^2}}{a c}+\frac {e^2 \text {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {a+c x^2}}\right )}{c}\\ &=-\frac {(a e-c d x) (d+e x)}{a c \sqrt {a+c x^2}}-\frac {d e \sqrt {a+c x^2}}{a c}+\frac {e^2 \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a+c x^2}}\right )}{c^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.36, size = 69, normalized size = 0.83 \begin {gather*} \frac {-2 a d e+c d^2 x-a e^2 x}{a c \sqrt {a+c x^2}}-\frac {e^2 \log \left (-\sqrt {c} x+\sqrt {a+c x^2}\right )}{c^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.44, size = 75, normalized size = 0.90
method | result | size |
default | \(e^{2} \left (-\frac {x}{c \sqrt {c \,x^{2}+a}}+\frac {\ln \left (\sqrt {c}\, x +\sqrt {c \,x^{2}+a}\right )}{c^{\frac {3}{2}}}\right )-\frac {2 d e}{c \sqrt {c \,x^{2}+a}}+\frac {d^{2} x}{a \sqrt {c \,x^{2}+a}}\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 67, normalized size = 0.81 \begin {gather*} \frac {d^{2} x}{\sqrt {c x^{2} + a} a} - \frac {x e^{2}}{\sqrt {c x^{2} + a} c} + \frac {\operatorname {arsinh}\left (\frac {c x}{\sqrt {a c}}\right ) e^{2}}{c^{\frac {3}{2}}} - \frac {2 \, d e}{\sqrt {c x^{2} + a} c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.57, size = 188, normalized size = 2.27 \begin {gather*} \left [\frac {{\left (a c x^{2} + a^{2}\right )} \sqrt {c} e^{2} \log \left (-2 \, c x^{2} - 2 \, \sqrt {c x^{2} + a} \sqrt {c} x - a\right ) + 2 \, {\left (c^{2} d^{2} x - a c x e^{2} - 2 \, a c d e\right )} \sqrt {c x^{2} + a}}{2 \, {\left (a c^{3} x^{2} + a^{2} c^{2}\right )}}, -\frac {{\left (a c x^{2} + a^{2}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {-c} x}{\sqrt {c x^{2} + a}}\right ) e^{2} - {\left (c^{2} d^{2} x - a c x e^{2} - 2 \, a c d e\right )} \sqrt {c x^{2} + a}}{a c^{3} x^{2} + a^{2} c^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (d + e x\right )^{2}}{\left (a + c x^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.54, size = 69, normalized size = 0.83 \begin {gather*} -\frac {\frac {2 \, d e}{c} - \frac {{\left (c^{2} d^{2} - a c e^{2}\right )} x}{a c^{2}}}{\sqrt {c x^{2} + a}} - \frac {e^{2} \log \left ({\left | -\sqrt {c} x + \sqrt {c x^{2} + a} \right |}\right )}{c^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.63, size = 75, normalized size = 0.90 \begin {gather*} \frac {e^2\,\ln \left (\sqrt {c}\,x+\sqrt {c\,x^2+a}\right )}{c^{3/2}}+\frac {d^2\,x}{a\,\sqrt {c\,x^2+a}}-\frac {e^2\,x}{c\,\sqrt {c\,x^2+a}}-\frac {2\,d\,e}{c\,\sqrt {c\,x^2+a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________